//
//  SearchSecondCollectionViewCell.m
//  网络FM
//
//  Created by dlios on 15/5/22.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "SearchSecondCollectionViewCell.h"

@implementation SearchSecondCollectionViewCell
- (void)dealloc
{
    [_imageView release];
    [_show release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView
{
    self.imageView = [[UIImageView alloc]initWithFrame:CGRectMake(30, 20, 40, 40)];
    [self addSubview:self.imageView];
    self.imageView.layer.cornerRadius = 5;
    [self.imageView setBackgroundColor:[UIColor purpleColor]];
    [self.imageView release];
    
    
    
    self.show = [[UILabel alloc]initWithFrame:CGRectMake(30, 60, 40, 20)];
    [self addSubview:self.show];
    [self.show release];
}
@end
